package com.coding.vo;

import com.coding.pojo.VideoComments;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;


@Data
public class VideoStorageData implements Serializable {
    //    视频Id
    private Long videoId;
    //    视频地址
    private String url;
    //用户Id
    private Long userId;
    //标题
    private String title;
    //描述
    private String description;
    //封面
    private String cover;
    //上传时间
    private String createdAt;
    //评论列表(videoId,评论列表)
    private List<VideoComments> comments;

    //  点赞数
    private long likes;
    //  分享数
    private long shares;
    //  收藏数
    private long favourites;
    //  对单个用户而言是否关注作者
    private boolean isFan = false;



}
